/*
 * Sycloud.com Inc.
 * Copyright (c) 2005-2066 All Rights Reserved.
 */
package com.insigma.business.qrcode.welfare._provider;



import com.insigma.business.qrcode.common.template.BasePagingResponse;
import com.insigma.business.qrcode.common.vo.BaseDeleteRequest;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.soldier.request.BaseGetRequest;
import com.insigma.business.qrcode.welfare.dto.CareWelfareServiceOrganizationDTO;
import com.insigma.business.qrcode.welfare.request.CareWelfareServiceOrganizationInsertRequest;
import com.insigma.business.qrcode.welfare.request.CareWelfareServiceOrganizationSearchRequest;
import com.insigma.business.qrcode.welfare.request.CareWelfareServiceOrganizationUpdateRequest;

import java.util.List;
/**
 * 福利-服务机构服务提供接口
 * @author juffett
 * @version $Id: CareWelfareServiceOrganizationProvider.java, v 1.0.0 2021-9-9 14:45:13 juffett Exp $
 */
public interface CareWelfareServiceOrganizationProvider {

    /**
     * 查询数据列表
     *
     * @param careWelfareServiceOrganizationSearchRequest
     * @return
     */
    BasePagingResponse<List<CareWelfareServiceOrganizationDTO>> searchCareWelfareServiceOrganization(final CareWelfareServiceOrganizationSearchRequest careWelfareServiceOrganizationSearchRequest);

   /**
    * 得到合法的非逻辑删除对象
    *
    * @param baseGetRequest
    * @return
    */
    BaseResponse<CareWelfareServiceOrganizationDTO> getCareWelfareServiceOrganization(final BaseGetRequest baseGetRequest);

    /**
     * 插入数据
     *
     * @param careWelfareServiceOrganizationInsertRequest)
     * @return
     */
    BaseResponse<String> insertCareWelfareServiceOrganization(final CareWelfareServiceOrganizationInsertRequest careWelfareServiceOrganizationInsertRequest);

    /**
     * 更新数据
     * @param updateRequest
     * @return
     */
    BaseResponse<Integer> updateCareWelfareServiceOrganization(CareWelfareServiceOrganizationUpdateRequest updateRequest);

    /**
     * 删除数据
     * @param deleteRequest
     * @return
     */
    BaseResponse<Integer> deleteCareWelfareServiceOrganization(BaseDeleteRequest deleteRequest);

    /**
     * 发布和取消发布
     * @param request
     * @return
     */
    BaseResponse<Integer> publishOrg(CareWelfareServiceOrganizationUpdateRequest request);
}
